<template>
    <div>
        <div class="img" @click="$router.push('/video/123')">
            <img src="https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg" alt="">
        </div>
        <div class="introduce" @click="$router.push('/video/123')">
            <span>asdasdi决定离开洒家的离开洒家道路喀什就啊看来大家卢卡斯都是垃圾卡斯克兰顿就卢卡斯觉得可拉斯基的克拉苏就看来大数据看了</span>
        </div>
        <div class="author">
            <span>萨达萨达是</span>
             <el-divider direction="vertical"></el-divider>
            <span>10-7</span>
        </div>
    </div>
</template>

<script>
export default {
    name: "home-card"
}
</script>

<style scoped>
.home-card {
    height: 240px;
    border: 0 !important;
}

.img {
    height: 147px;
}

.img img {
    height: 100%;
    width: 100%;
    border-radius: 6px;
}

.introduce {
    height: 40px;
    font-size: 15px;
    font-weight: 500;
    margin: 5px 0 5px 0;
}

.introduce span {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 2;
    cursor: pointer;
}

.introduce span:hover{
    color: #409EFF;
}

.author{
    font-size: 0.8rem;
    color: #909399;
}
</style>